package com.city.justlisten.config;

/**
 * config统一解决跨域问题或者controller加跨域注解，注意配置参数
 */
/*@Configuration
public class WebMvcConfig extends WebMvcConfigurerAdapter {

    @Override
    public void addCorsMappings(CorsRegistry registry) {
        registry.addMapping("/**")
                .allowedOrigins("*")
                .allowedMethods("*")
                .allowCredentials(true);
    }
}*/
